//
//  FXTempViewController.swift
//  微博(Swift)
//
//  Created by V on 15/12/27.
//  Copyright © 2015年 V. All rights reserved.
//

import UIKit

class FXTempViewController: UIViewController {

    override func viewDidLoad() {
        view.backgroundColor = UIColor.whiteColor()
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", target: self, action: "push")
        title = "当前是第\(navigationController?.childViewControllers.count ?? 0)级控制器"
    }
    
    func push(){
    navigationController?.pushViewController(FXTempViewController(), animated: true)
    }
}
